extends PropertyFindSetter


class_name StringSetter


## 操作符
@export_enum("=", "+=", "-=", "*=", "/=", "%=") var operation: String = "="
## 操作数
@export var value: String = ""


func __calc_value(op: String, src_v: String, op_v: String) -> String:
    return op_v

func __get_update_value(w: Object, p: String) -> Variant:
    return __calc_value(operation, w.get(p), value)
